<?php
/**
 * Copyright (c) 2006-2007, Julien PORTALIER
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright    Copyright (c) 2006-2007, Julien PORTALIER
 * @link         http://featherphp.googlecode.com/
 * @license      http://www.opensource.org/licenses/mit-license.php The MIT License
 */

/**
 * Configuration for the Inflector, used to singularize and pluralize words.
 */
class Inflections
{
	static protected $constants = array('wiki');
	
	static protected $singularize_rules = array(
		'/ses$/' => 's', 
		'/ies$/' => 'y',
		'/xes$/' => 'x', 
		'/s$/'   => ''
	);
	
	static protected $pluralize_rules   = array(
		'/s$/' => 'ses',
		'/y$/' => 'ies',
		'/x$/' => 'xes',
		'/$/'  => 's'
	);
}
?>